package com.yang.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author yangdacheng
 * @title: NoteListConfig
 * @projectName note_api
 * @description: TODO
 * @date 2022/3/7 6:23 下午
 */
@Component
@ConfigurationProperties(prefix = "note")
@PropertySource(value = "classpath:noteList.properties",encoding = "utf-8")
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Accessors(chain = true)
public class NoteListConfig {
    private String appTitle;
    private Boolean openSendEmail;
    private Boolean openSendTel;
    private Boolean openUpdateUser;
    private Boolean openUseTel;
}
